
import React, { Component } from 'react'
import 'antd/dist/antd.css';

import {Link} from "react-router-dom"


import { Layout, Menu } from 'antd';
const { Header} = Layout;


export default class Hometop extends Component {
    constructor(props) {
        super(props);
        this.state = {
        }
    }
    render() {
        return (
            <Layout>
                <Header style={{ position: 'fixed', zIndex: 1, width: '100%' }}>
                    <div className="logo" />
                    <Menu theme="dark" mode="horizontal" defaultSelectedKeys={['2']}>
                        <Menu.Item key="3">头像预留</Menu.Item>
                        <Menu.Item key="1">
                            <Link to='/Login'> 登录 </Link> 
                        </Menu.Item>
                        <Menu.Item key="2">
                            <Link to='/'> 首页 </Link> 
                        </Menu.Item>
                    </Menu>
                </Header>
            </Layout>
        )
    }
}
